﻿using AgencyManagerSystem.Model;
using System.Collections.Generic;
using System.Linq;

namespace AgencyManagerSystem.DataFetcher
{
    public class DeliveryTraceFetcher : BaseFetcher<DeliveryTraceModel>
    {
        public IList<DeliveryTraceModel> ListByOrder(int order)
        {
            Condition[] conditions = new Condition[] { new Condition() { Key = "Order", Op = "=", Value = order } };
            var list = List(conditions);
            return list;
        }
    }
}
